package com.yunhe.spring;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        ClassPathXmlApplicationContext connt = new ClassPathXmlApplicationContext("beans.xml");

        A a = (A)connt.getBean("a");

        a.setName("666");
        a.show();


    }
}
